package com.pactera.madp.cp.api.entity.medium;

import com.baomidou.mybatisplus.annotation.*;
import com.pactera.madp.cp.api.entity.BaseEntity;
import com.pactera.madp.cp.api.entity.WorkDeptEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;
import java.util.List;

/**
 * @description:素材库-分组
 */
@TableName("cp_medium_group")
@ApiModel(value = "素材库-分组")
@Data
@EqualsAndHashCode(callSuper = false)
public class MediumGroupEntity extends BaseEntity<MediumGroupEntity> {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;//id

    @ApiModelProperty(value = "企业id")
    private Integer corp_id;//企业表ID

    @ApiModelProperty(value = "名称")
    private String name;//名称

    @ApiModelProperty(value = "排序")
    @TableField("`order`")
    private Integer order;//排序

    @ApiModelProperty(value = "可见范围")
    private Integer visibleRange;//可见范围

    @ApiModelProperty(value = "部门id列表")
    private String deptIds;

    @ApiModelProperty(value = "父分组id")
    private Integer parentId;

}
